namespace Framework.UI
{
	public partial class ActorShowFrame : UIFrame
	{
		UnityEngine.UI.ScrollRect ScrollView;
		UnityEngine.UI.Button BtnCreateRoom;
		UnityEngine.UI.RawImage JobImage;
		TMPro.TextMeshProUGUI PlayerName;
		TMPro.TextMeshProUGUI JobName;
		UnityEngine.UI.Button BtnBackToLogin;
		protected override void InitScriptBinder()
		{
			ScrollView = scriptBinder.GetValue() as UnityEngine.UI.ScrollRect;
			BtnCreateRoom = scriptBinder.GetValue() as UnityEngine.UI.Button;
			JobImage = scriptBinder.GetValue() as UnityEngine.UI.RawImage;
			PlayerName = scriptBinder.GetValue() as TMPro.TextMeshProUGUI;
			JobName = scriptBinder.GetValue() as TMPro.TextMeshProUGUI;
			BtnBackToLogin = scriptBinder.GetValue() as UnityEngine.UI.Button;
		}
		
		protected override void RegisterUIEvent()
		{
			BtnCreateRoom.onClick.AddListener(this.OnBtnCreateRoomClicked);
			BtnBackToLogin.onClick.AddListener(this.OnBtnBackToLoginClicked);
		}
		
		protected override void UnregisterUIEvent()
		{
			BtnCreateRoom.onClick.RemoveListener(this.OnBtnCreateRoomClicked);
			BtnBackToLogin.onClick.RemoveListener(this.OnBtnBackToLoginClicked);
		}
	}
}
